import rerquest from '@/utils/request'

//登录
export function postLogin(params: any) {
  return rerquest.post<{
    token?: string
    phone: string
    username: string
    img:string
  }>('login', params)
}


//验证码 获取
export function postSvg(params: any) {
  return rerquest.post<{
    svgCood?: number
    result: string
  }>('postSvg', params)
}
